package com.ourteam.system.dao;

import net.dao.BaseQueryBean;
import net.dao.BaseWhereCriterion;
import net.dao.IDataAccessInterface;

import org.apache.commons.lang.StringUtils;

import java.util.Arrays;
import java.util.List;
import java.util.Map;


/**
 * Template Name : DAO查询对象
 * Template Version : 1
 * Template Last Modfiy Date : Sat Aug 19 10:06:32 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:26
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public class SysUserPasswordDAOQueryBean extends BaseQueryBean {
    public SysUserPasswordDAOQueryBean() {
        super();
    }

    public SysUserPasswordDAOQueryBean(BaseQueryBean aQueryBean) {
        super(aQueryBean);
    }

    public SysUserPasswordDAOQueryBean(BaseQueryBean aQueryBean,
        Map tableReplaceMap) {
        super(aQueryBean, tableReplaceMap);
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();

        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }

        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        return new Criteria(this);
    }

    public void addUserNameSelectProperty() {
        addUserNameSelectProperty("userName");
    }

    public void addUserNameSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserPasswordDAO.UserName, aAlias);
        } else {
            addSelectProperty(ISysUserPasswordDAO.UserName, "userName");
        }
    }

    public void addEnabledSelectProperty() {
        addEnabledSelectProperty("enabled");
    }

    public void addEnabledSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserPasswordDAO.Enabled, aAlias);
        } else {
            addSelectProperty(ISysUserPasswordDAO.Enabled, "enabled");
        }
    }

    public void addPasswordSelectProperty() {
        addPasswordSelectProperty("password");
    }

    public void addPasswordSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserPasswordDAO.Password, aAlias);
        } else {
            addSelectProperty(ISysUserPasswordDAO.Password, "password");
        }
    }

    public void addAllSelectProperties() {
        addUserNameSelectProperty();

        addEnabledSelectProperty();

        addPasswordSelectProperty();
    }

    public static class Criteria extends BaseWhereCriterion<SysUserPasswordDAOQueryBean> {
        protected Criteria(SysUserPasswordDAOQueryBean aParentObject) {
            super(aParentObject);
        }

        public Criteria andUserNameIsNull() {
            addCriterion(ISysUserPasswordDAO.UserName + " is null");

            return this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion(ISysUserPasswordDAO.UserName + " is not null");

            return this;
        }

        public Criteria andUserNameIsNotEmpty() {
            addCriterion(ISysUserPasswordDAO.UserName + " is not null AND " +
                ISysUserPasswordDAO.UserName + " <> ''");

            return this;
        }

        public Criteria andUserNameIsEmpty() {
            addCriterion("(" + ISysUserPasswordDAO.UserName + " is null OR " +
                ISysUserPasswordDAO.UserName + " = '')");

            return this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion(ISysUserPasswordDAO.UserName + " = ", value, "userName");

            return this;
        }

        public Criteria andUserNameEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.UserName);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserNameEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.UserName + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion(ISysUserPasswordDAO.UserName + " <>", value, "userName");

            return this;
        }

        public Criteria andUserNameNotEqualToOrIsNull(String value) {
            addCriterion(ISysUserPasswordDAO.UserName + " is null OR " +
                ISysUserPasswordDAO.UserName + " <>", value, "userName");

            return this;
        }

        public Criteria andUserNameNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.UserName);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserNameNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.UserName + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion(ISysUserPasswordDAO.UserName + " >", value, "userName");

            return this;
        }

        public Criteria andUserNameGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.UserName);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserNameGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.UserName + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion(ISysUserPasswordDAO.UserName + " >=", value, "userName");

            return this;
        }

        public Criteria andUserNameGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.UserName);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.UserName + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion(ISysUserPasswordDAO.UserName + " <", value, "userName");

            return this;
        }

        public Criteria andUserNameLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.UserName);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserNameLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.UserName + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion(ISysUserPasswordDAO.UserName + " <=", value, "userName");

            return this;
        }

        public Criteria andUserNameLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.UserName);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserNameLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.UserName + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserNameLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserPasswordDAO.UserName + " like",
                buffer.toString(), "userName");

            return this;
        }

        public Criteria andUserNameNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserPasswordDAO.UserName + " not like",
                buffer.toString(), "userName");

            return this;
        }

        public Criteria andUserNameIn(List<String> values) {
            if (values.size() == 1) {
                return andUserNameEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserPasswordDAO.UserName + " in", values,
                    "userName");

                return this;
            }
        }

        public Criteria andUserNameNotIn(List<String> values) {
            if (values.size() == 1) {
                return andUserNameNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserPasswordDAO.UserName + " not in", values,
                    "userName");

                return this;
            }
        }

        public Criteria andUserNameIn(String[] values) {
            if (values.length == 1) {
                return andUserNameEqualTo(values[0]);
            } else {
                addCriterion(ISysUserPasswordDAO.UserName + " in",
                    Arrays.asList(values), "userName");

                return this;
            }
        }

        public Criteria andUserNameNotIn(String[] values) {
            if (values.length == 1) {
                return andUserNameNotEqualTo(values[0]);
            } else {
                addCriterion(ISysUserPasswordDAO.UserName + " not in",
                    Arrays.asList(values), "userName");

                return this;
            }
        }

        public Criteria andUserNameIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.UserName + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserNameNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.UserName + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion(ISysUserPasswordDAO.UserName + " between", value1,
                value2, "userName");

            return this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion(ISysUserPasswordDAO.UserName + " not between", value1,
                value2, "userName");

            return this;
        }

        public Criteria andEnabledIsNull() {
            addCriterion(ISysUserPasswordDAO.Enabled + " is null");

            return this;
        }

        public Criteria andEnabledIsNotNull() {
            addCriterion(ISysUserPasswordDAO.Enabled + " is not null");

            return this;
        }

        public Criteria andEnabledIsNotEmpty() {
            addCriterion(ISysUserPasswordDAO.Enabled + " is not null AND " +
                ISysUserPasswordDAO.Enabled + " <> ''");

            return this;
        }

        public Criteria andEnabledIsEmpty() {
            addCriterion("(" + ISysUserPasswordDAO.Enabled + " is null OR " +
                ISysUserPasswordDAO.Enabled + " = '')");

            return this;
        }

        public Criteria andEnabledEqualTo(String value) {
            addCriterion(ISysUserPasswordDAO.Enabled + " = ", value, "enabled");

            return this;
        }

        public Criteria andEnabledEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.Enabled);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andEnabledEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Enabled + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andEnabledNotEqualTo(String value) {
            addCriterion(ISysUserPasswordDAO.Enabled + " <>", value, "enabled");

            return this;
        }

        public Criteria andEnabledNotEqualToOrIsNull(String value) {
            addCriterion(ISysUserPasswordDAO.Enabled + " is null OR " +
                ISysUserPasswordDAO.Enabled + " <>", value, "enabled");

            return this;
        }

        public Criteria andEnabledNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.Enabled);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andEnabledNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Enabled + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andEnabledGreaterThan(String value) {
            addCriterion(ISysUserPasswordDAO.Enabled + " >", value, "enabled");

            return this;
        }

        public Criteria andEnabledGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.Enabled);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andEnabledGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Enabled + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andEnabledGreaterThanOrEqualTo(String value) {
            addCriterion(ISysUserPasswordDAO.Enabled + " >=", value, "enabled");

            return this;
        }

        public Criteria andEnabledGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.Enabled);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andEnabledGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Enabled + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andEnabledLessThan(String value) {
            addCriterion(ISysUserPasswordDAO.Enabled + " <", value, "enabled");

            return this;
        }

        public Criteria andEnabledLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.Enabled);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andEnabledLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Enabled + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andEnabledLessThanOrEqualTo(String value) {
            addCriterion(ISysUserPasswordDAO.Enabled + " <=", value, "enabled");

            return this;
        }

        public Criteria andEnabledLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.Enabled);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andEnabledLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Enabled + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andEnabledLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserPasswordDAO.Enabled + " like",
                buffer.toString(), "enabled");

            return this;
        }

        public Criteria andEnabledNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserPasswordDAO.Enabled + " not like",
                buffer.toString(), "enabled");

            return this;
        }

        public Criteria andEnabledIn(List<String> values) {
            if (values.size() == 1) {
                return andEnabledEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserPasswordDAO.Enabled + " in", values,
                    "enabled");

                return this;
            }
        }

        public Criteria andEnabledNotIn(List<String> values) {
            if (values.size() == 1) {
                return andEnabledNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserPasswordDAO.Enabled + " not in", values,
                    "enabled");

                return this;
            }
        }

        public Criteria andEnabledIn(String[] values) {
            if (values.length == 1) {
                return andEnabledEqualTo(values[0]);
            } else {
                addCriterion(ISysUserPasswordDAO.Enabled + " in",
                    Arrays.asList(values), "enabled");

                return this;
            }
        }

        public Criteria andEnabledNotIn(String[] values) {
            if (values.length == 1) {
                return andEnabledNotEqualTo(values[0]);
            } else {
                addCriterion(ISysUserPasswordDAO.Enabled + " not in",
                    Arrays.asList(values), "enabled");

                return this;
            }
        }

        public Criteria andEnabledIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Enabled + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andEnabledNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Enabled + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andEnabledBetween(String value1, String value2) {
            addCriterion(ISysUserPasswordDAO.Enabled + " between", value1,
                value2, "enabled");

            return this;
        }

        public Criteria andEnabledNotBetween(String value1, String value2) {
            addCriterion(ISysUserPasswordDAO.Enabled + " not between", value1,
                value2, "enabled");

            return this;
        }

        public Criteria andPasswordIsNull() {
            addCriterion(ISysUserPasswordDAO.Password + " is null");

            return this;
        }

        public Criteria andPasswordIsNotNull() {
            addCriterion(ISysUserPasswordDAO.Password + " is not null");

            return this;
        }

        public Criteria andPasswordIsNotEmpty() {
            addCriterion(ISysUserPasswordDAO.Password + " is not null AND " +
                ISysUserPasswordDAO.Password + " <> ''");

            return this;
        }

        public Criteria andPasswordIsEmpty() {
            addCriterion("(" + ISysUserPasswordDAO.Password + " is null OR " +
                ISysUserPasswordDAO.Password + " = '')");

            return this;
        }

        public Criteria andPasswordEqualTo(String value) {
            addCriterion(ISysUserPasswordDAO.Password + " = ", value, "password");

            return this;
        }

        public Criteria andPasswordEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.Password);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andPasswordEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Password + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andPasswordNotEqualTo(String value) {
            addCriterion(ISysUserPasswordDAO.Password + " <>", value, "password");

            return this;
        }

        public Criteria andPasswordNotEqualToOrIsNull(String value) {
            addCriterion(ISysUserPasswordDAO.Password + " is null OR " +
                ISysUserPasswordDAO.Password + " <>", value, "password");

            return this;
        }

        public Criteria andPasswordNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.Password);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andPasswordNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Password + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andPasswordGreaterThan(String value) {
            addCriterion(ISysUserPasswordDAO.Password + " >", value, "password");

            return this;
        }

        public Criteria andPasswordGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.Password);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andPasswordGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Password + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
            addCriterion(ISysUserPasswordDAO.Password + " >=", value, "password");

            return this;
        }

        public Criteria andPasswordGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.Password);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Password + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andPasswordLessThan(String value) {
            addCriterion(ISysUserPasswordDAO.Password + " <", value, "password");

            return this;
        }

        public Criteria andPasswordLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.Password);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andPasswordLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Password + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andPasswordLessThanOrEqualTo(String value) {
            addCriterion(ISysUserPasswordDAO.Password + " <=", value, "password");

            return this;
        }

        public Criteria andPasswordLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserPasswordDAO.Password);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andPasswordLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Password + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andPasswordLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserPasswordDAO.Password + " like",
                buffer.toString(), "password");

            return this;
        }

        public Criteria andPasswordNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserPasswordDAO.Password + " not like",
                buffer.toString(), "password");

            return this;
        }

        public Criteria andPasswordIn(List<String> values) {
            if (values.size() == 1) {
                return andPasswordEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserPasswordDAO.Password + " in", values,
                    "password");

                return this;
            }
        }

        public Criteria andPasswordNotIn(List<String> values) {
            if (values.size() == 1) {
                return andPasswordNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserPasswordDAO.Password + " not in", values,
                    "password");

                return this;
            }
        }

        public Criteria andPasswordIn(String[] values) {
            if (values.length == 1) {
                return andPasswordEqualTo(values[0]);
            } else {
                addCriterion(ISysUserPasswordDAO.Password + " in",
                    Arrays.asList(values), "password");

                return this;
            }
        }

        public Criteria andPasswordNotIn(String[] values) {
            if (values.length == 1) {
                return andPasswordNotEqualTo(values[0]);
            } else {
                addCriterion(ISysUserPasswordDAO.Password + " not in",
                    Arrays.asList(values), "password");

                return this;
            }
        }

        public Criteria andPasswordIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Password + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andPasswordNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserPasswordDAO.Password + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andPasswordBetween(String value1, String value2) {
            addCriterion(ISysUserPasswordDAO.Password + " between", value1,
                value2, "password");

            return this;
        }

        public Criteria andPasswordNotBetween(String value1, String value2) {
            addCriterion(ISysUserPasswordDAO.Password + " not between", value1,
                value2, "password");

            return this;
        }
    }
}
